package utils;

import androidx.constraintlayout.widget.ConstraintLayout;

public class Constants {
    private Constants() {

    }

    // 192.168.1.17
    // 10.0.2.2


    public static String SERVER_URL = "http://10.34.107.214:5000/api";

    public static String LOGIN_PATH = "/login";
    public static String REGISTER_PATH = "/register";
    public static String PUBLISH_WORK_PATH = "/publish/work";
    public static String WORKS_LIST_PATH = "/works/List";
    public static String MY_WORKS_LIST_PATH = "/my/works/List";
    public static String EDIT_PASSWORD_PATH = "/edit/password";
    public static String STAR_WORK_PATH = "/star/work";
    public static String EDIT_USERNAME_PATH = "/edit/username";
    public static String REMOVE_ACCOUNT_PATH = "/remove/account";
    public static String REMOVE_WORK_PATH = "/remove/work";
    public static String EDIT_USERINFO_PATH = "/edit/userinfo";

    public static String LOGIN_URL = SERVER_URL + LOGIN_PATH;
    public static String REGISTER_URL = SERVER_URL + REGISTER_PATH;
    public static String PUBLISH_WORK_URL = SERVER_URL + PUBLISH_WORK_PATH;
    public static String WORKS_LIST_URL = SERVER_URL + WORKS_LIST_PATH;
    public static String MY_WORKS_LIST_URL = SERVER_URL + MY_WORKS_LIST_PATH;
    public static String EDIT_PASSWORD_URL = SERVER_URL + EDIT_PASSWORD_PATH;
    public static String STAR_WORK_URL = SERVER_URL + STAR_WORK_PATH;
    public static String EDIT_USERNAME_URL = SERVER_URL + EDIT_USERNAME_PATH;
    public static String REMOVE_ACCOUNT_URL = SERVER_URL + REMOVE_ACCOUNT_PATH;
    public static String REMOVE_WORK_URL = SERVER_URL + REMOVE_WORK_PATH;
    public static String EDIT_USERINFO_URL = SERVER_URL + EDIT_USERINFO_PATH;


}
